package com.sk.sourcecircle.entity;

import java.util.List;

/**
 * Created by sk on 2018/1/16.
 */

public class XiaoMiEntity {


    /**
     * code : 200
     * data : [{"id":40,"user_id":17,"friend_id":1,"content":"您好，源圈社区在线客服为您服务！请输入您的问题，谢谢","type":1,"flag":1,"status":1,"create_time":"2018-01-16 18:32:22","update_time":"2018-01-16 18:32:22","friend":{"user_id":1,"openid":"","phone":"17600635679","nickname":"小女","head_url":"https://appdev.qigle.com/yuanquan/public/upload/20171228/a481908ab3f8c0e83ac50c45e31779d1.jpg","gender":1,"province_id":0,"city_id":37,"district_id":0,"company":"公司（data_id 票种需审核要填写","role":"公司（data_id 票","balance":"0.00","score":0,"add_auth":0,"show_auth":0,"status":0,"token":"48d41e45db37a71b0462f06ac20298e6","unionid":null,"community":"4,5","pass":"U}RH[e/p","hx_login":"","hx_pass":null},"user":{"user_id":17,"openid":"","phone":"13661503762","nickname":"13661503762","head_url":"https://appdev.qigle.com/yuanquan/public/upload/20180111/1560b5b3b86aeb53beda9143ebc6e628.jpg","gender":0,"province_id":0,"city_id":0,"district_id":0,"company":null,"role":null,"balance":"0.00","score":0,"add_auth":0,"show_auth":0,"status":0,"token":"d085834c25ea6538bd40f666e527959e","unionid":null,"community":null,"pass":"tg+E%Ar:","hx_login":"0b7844a0adeef9c891cc7383c4302fc7","hx_pass":"98749b1ee5530977f95c582414e56dbb"}}]
     */

    private int code;
    private List<DataBean> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 40
         * user_id : 17
         * friend_id : 1
         * content : 您好，源圈社区在线客服为您服务！请输入您的问题，谢谢
         * type : 1
         * flag : 1
         * status : 1
         * create_time : 2018-01-16 18:32:22
         * update_time : 2018-01-16 18:32:22
         * friend : {"user_id":1,"openid":"","phone":"17600635679","nickname":"小女","head_url":"https://appdev.qigle.com/yuanquan/public/upload/20171228/a481908ab3f8c0e83ac50c45e31779d1.jpg","gender":1,"province_id":0,"city_id":37,"district_id":0,"company":"公司（data_id 票种需审核要填写","role":"公司（data_id 票","balance":"0.00","score":0,"add_auth":0,"show_auth":0,"status":0,"token":"48d41e45db37a71b0462f06ac20298e6","unionid":null,"community":"4,5","pass":"U}RH[e/p","hx_login":"","hx_pass":null}
         * user : {"user_id":17,"openid":"","phone":"13661503762","nickname":"13661503762","head_url":"https://appdev.qigle.com/yuanquan/public/upload/20180111/1560b5b3b86aeb53beda9143ebc6e628.jpg","gender":0,"province_id":0,"city_id":0,"district_id":0,"company":null,"role":null,"balance":"0.00","score":0,"add_auth":0,"show_auth":0,"status":0,"token":"d085834c25ea6538bd40f666e527959e","unionid":null,"community":null,"pass":"tg+E%Ar:","hx_login":"0b7844a0adeef9c891cc7383c4302fc7","hx_pass":"98749b1ee5530977f95c582414e56dbb"}
         */

        private int id;
        private int user_id;
        private int friend_id;
        private String content;
        private int type;
        private int flag;
        private int status;
        private String create_time;
        private String update_time;
        private FriendBean friend;
        private UserBean user;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getUser_id() {
            return user_id;
        }

        public void setUser_id(int user_id) {
            this.user_id = user_id;
        }

        public int getFriend_id() {
            return friend_id;
        }

        public void setFriend_id(int friend_id) {
            this.friend_id = friend_id;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }

        public int getFlag() {
            return flag;
        }

        public void setFlag(int flag) {
            this.flag = flag;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public String getCreate_time() {
            return create_time;
        }

        public void setCreate_time(String create_time) {
            this.create_time = create_time;
        }

        public String getUpdate_time() {
            return update_time;
        }

        public void setUpdate_time(String update_time) {
            this.update_time = update_time;
        }

        public FriendBean getFriend() {
            return friend;
        }

        public void setFriend(FriendBean friend) {
            this.friend = friend;
        }

        public UserBean getUser() {
            return user;
        }

        public void setUser(UserBean user) {
            this.user = user;
        }

        public static class FriendBean {
            /**
             * user_id : 1
             * openid :
             * phone : 17600635679
             * nickname : 小女
             * head_url : https://appdev.qigle.com/yuanquan/public/upload/20171228/a481908ab3f8c0e83ac50c45e31779d1.jpg
             * gender : 1
             * province_id : 0
             * city_id : 37
             * district_id : 0
             * company : 公司（data_id 票种需审核要填写
             * role : 公司（data_id 票
             * balance : 0.00
             * score : 0
             * add_auth : 0
             * show_auth : 0
             * status : 0
             * token : 48d41e45db37a71b0462f06ac20298e6
             * unionid : null
             * community : 4,5
             * pass : U}RH[e/p
             * hx_login :
             * hx_pass : null
             */

            private int user_id;
            private String openid;
            private String phone;
            private String nickname;
            private String head_url;
            private int gender;
            private int province_id;
            private int city_id;
            private int district_id;
            private String company;
            private String role;
            private String balance;
            private int score;
            private int add_auth;
            private int show_auth;
            private int status;
            private String token;
            private Object unionid;
            private String community;
            private String pass;
            private String hx_login;
            private Object hx_pass;

            public int getUser_id() {
                return user_id;
            }

            public void setUser_id(int user_id) {
                this.user_id = user_id;
            }

            public String getOpenid() {
                return openid;
            }

            public void setOpenid(String openid) {
                this.openid = openid;
            }

            public String getPhone() {
                return phone;
            }

            public void setPhone(String phone) {
                this.phone = phone;
            }

            public String getNickname() {
                return nickname;
            }

            public void setNickname(String nickname) {
                this.nickname = nickname;
            }

            public String getHead_url() {
                return head_url;
            }

            public void setHead_url(String head_url) {
                this.head_url = head_url;
            }

            public int getGender() {
                return gender;
            }

            public void setGender(int gender) {
                this.gender = gender;
            }

            public int getProvince_id() {
                return province_id;
            }

            public void setProvince_id(int province_id) {
                this.province_id = province_id;
            }

            public int getCity_id() {
                return city_id;
            }

            public void setCity_id(int city_id) {
                this.city_id = city_id;
            }

            public int getDistrict_id() {
                return district_id;
            }

            public void setDistrict_id(int district_id) {
                this.district_id = district_id;
            }

            public String getCompany() {
                return company;
            }

            public void setCompany(String company) {
                this.company = company;
            }

            public String getRole() {
                return role;
            }

            public void setRole(String role) {
                this.role = role;
            }

            public String getBalance() {
                return balance;
            }

            public void setBalance(String balance) {
                this.balance = balance;
            }

            public int getScore() {
                return score;
            }

            public void setScore(int score) {
                this.score = score;
            }

            public int getAdd_auth() {
                return add_auth;
            }

            public void setAdd_auth(int add_auth) {
                this.add_auth = add_auth;
            }

            public int getShow_auth() {
                return show_auth;
            }

            public void setShow_auth(int show_auth) {
                this.show_auth = show_auth;
            }

            public int getStatus() {
                return status;
            }

            public void setStatus(int status) {
                this.status = status;
            }

            public String getToken() {
                return token;
            }

            public void setToken(String token) {
                this.token = token;
            }

            public Object getUnionid() {
                return unionid;
            }

            public void setUnionid(Object unionid) {
                this.unionid = unionid;
            }

            public String getCommunity() {
                return community;
            }

            public void setCommunity(String community) {
                this.community = community;
            }

            public String getPass() {
                return pass;
            }

            public void setPass(String pass) {
                this.pass = pass;
            }

            public String getHx_login() {
                return hx_login;
            }

            public void setHx_login(String hx_login) {
                this.hx_login = hx_login;
            }

            public Object getHx_pass() {
                return hx_pass;
            }

            public void setHx_pass(Object hx_pass) {
                this.hx_pass = hx_pass;
            }
        }

        public static class UserBean {
            /**
             * user_id : 17
             * openid :
             * phone : 13661503762
             * nickname : 13661503762
             * head_url : https://appdev.qigle.com/yuanquan/public/upload/20180111/1560b5b3b86aeb53beda9143ebc6e628.jpg
             * gender : 0
             * province_id : 0
             * city_id : 0
             * district_id : 0
             * company : null
             * role : null
             * balance : 0.00
             * score : 0
             * add_auth : 0
             * show_auth : 0
             * status : 0
             * token : d085834c25ea6538bd40f666e527959e
             * unionid : null
             * community : null
             * pass : tg+E%Ar:
             * hx_login : 0b7844a0adeef9c891cc7383c4302fc7
             * hx_pass : 98749b1ee5530977f95c582414e56dbb
             */

            private int user_id;
            private String openid;
            private String phone;
            private String nickname;
            private String head_url;
            private int gender;
            private int province_id;
            private int city_id;
            private int district_id;
            private Object company;
            private Object role;
            private String balance;
            private int score;
            private int add_auth;
            private int show_auth;
            private int status;
            private String token;
            private Object unionid;
            private Object community;
            private String pass;
            private String hx_login;
            private String hx_pass;

            public int getUser_id() {
                return user_id;
            }

            public void setUser_id(int user_id) {
                this.user_id = user_id;
            }

            public String getOpenid() {
                return openid;
            }

            public void setOpenid(String openid) {
                this.openid = openid;
            }

            public String getPhone() {
                return phone;
            }

            public void setPhone(String phone) {
                this.phone = phone;
            }

            public String getNickname() {
                return nickname;
            }

            public void setNickname(String nickname) {
                this.nickname = nickname;
            }

            public String getHead_url() {
                return head_url;
            }

            public void setHead_url(String head_url) {
                this.head_url = head_url;
            }

            public int getGender() {
                return gender;
            }

            public void setGender(int gender) {
                this.gender = gender;
            }

            public int getProvince_id() {
                return province_id;
            }

            public void setProvince_id(int province_id) {
                this.province_id = province_id;
            }

            public int getCity_id() {
                return city_id;
            }

            public void setCity_id(int city_id) {
                this.city_id = city_id;
            }

            public int getDistrict_id() {
                return district_id;
            }

            public void setDistrict_id(int district_id) {
                this.district_id = district_id;
            }

            public Object getCompany() {
                return company;
            }

            public void setCompany(Object company) {
                this.company = company;
            }

            public Object getRole() {
                return role;
            }

            public void setRole(Object role) {
                this.role = role;
            }

            public String getBalance() {
                return balance;
            }

            public void setBalance(String balance) {
                this.balance = balance;
            }

            public int getScore() {
                return score;
            }

            public void setScore(int score) {
                this.score = score;
            }

            public int getAdd_auth() {
                return add_auth;
            }

            public void setAdd_auth(int add_auth) {
                this.add_auth = add_auth;
            }

            public int getShow_auth() {
                return show_auth;
            }

            public void setShow_auth(int show_auth) {
                this.show_auth = show_auth;
            }

            public int getStatus() {
                return status;
            }

            public void setStatus(int status) {
                this.status = status;
            }

            public String getToken() {
                return token;
            }

            public void setToken(String token) {
                this.token = token;
            }

            public Object getUnionid() {
                return unionid;
            }

            public void setUnionid(Object unionid) {
                this.unionid = unionid;
            }

            public Object getCommunity() {
                return community;
            }

            public void setCommunity(Object community) {
                this.community = community;
            }

            public String getPass() {
                return pass;
            }

            public void setPass(String pass) {
                this.pass = pass;
            }

            public String getHx_login() {
                return hx_login;
            }

            public void setHx_login(String hx_login) {
                this.hx_login = hx_login;
            }

            public String getHx_pass() {
                return hx_pass;
            }

            public void setHx_pass(String hx_pass) {
                this.hx_pass = hx_pass;
            }
        }
    }
}
